package com.rzico.report.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * Created by icssh on 2020/11/15.
 */
@Data
public class WarehouseSaleCountVo {

    @Id
    protected Long productId;

    protected String name;

    protected String sn;

    protected String spec1;


    protected String unit;

    @ApiModelProperty(value = "销售数量" )
    protected BigDecimal quantity;

    @ApiModelProperty(value = "销售单价" )
    protected BigDecimal price;

    @ApiModelProperty(value = "店铺优惠" )
    protected BigDecimal discount;


    @ApiModelProperty(value = "销售金额" )
    protected BigDecimal totalAmt;

    @ApiModelProperty(value = "成本单价" )
    protected BigDecimal cost;
    @ApiModelProperty(value = "成本金额" )
    protected BigDecimal totalCost;

    @ApiModelProperty(value = "毛利" )
    protected BigDecimal maoli;

    @ApiModelProperty(value = "毛利率" )
    protected BigDecimal maolilv;

}
